angular.module('faApp').service('reportService', [ 'ajaxService',function (ajaxService) {

  this.deepAnalyticsDetail = function(pid){
    return ajaxService.jsonp(ajaxService.getApiUri("REPORT_DETAIL"), {fpProductId:pid});
  };

  this.deepAnalyticsSave = function(report){
    return ajaxService.post(ajaxService.getApiUri("REPORT_SAVE"), report || {});
  };
}]);